package com.aoxin.service.inter.course.systemCourse;


import java.util.LinkedList;
import java.util.Map;

import com.aoxin.model.course.AloneCourseToPage;

public interface AloneCourseToPageService {
    /**
     * 给某个包插入课程
     * @param courseIds
     * @param coursePageId
     * @return
     */
    Integer insertCourseToPage(Integer courseIds[],  Integer coursePageId) throws Exception;
    /**
     * 根据课程包id和学校查询对应课程
     * @param AloneCourseToPage
     * @return
     */
    LinkedList<Map<String,Object>> getCourseToPage(AloneCourseToPage AloneCourseToPage) throws Exception;
    /**
     * 修改某个课程包对应的课程
     * @param AloneCourseToPage
     * @return
     */
    Integer updateCourseToPage(AloneCourseToPage AloneCourseToPage) throws Exception;

    /**
     *  删除某个课程包对应的课程
     * @return
     */
    Integer deleteCourseToPage(Integer csToPgId,Integer coursePageId) throws Exception;
    /**
     * 获取未添加到课程包的课程
     * @return
     */
    LinkedList<Map<String,Object>> getOtherCourseToPage(Integer coursePageId) throws Exception;
}
